//
//  SYS_SuitTextAndIconView.m
//  System_App
//
//  Created by 魏配军 on 2017/12/5.
//  Copyright © 2017年 czy001. All rights reserved.
//

#import "SYS_SuitTextAndIconView.h"

@implementation SYS_SuitTextAndIconView

-(instancetype)initWithFrame:(CGRect)frame
{
    self=[super initWithFrame:frame];
    if (self) {
        [self addView];
    }
    return self;
}

-(void) addView
{
    _nameLabel=[[UILabel alloc]initWithFrame:CGRectMake( 5, 5, 130, 20)];
    //    _nameLabel.font=[UIFont fontWithName:@"PingFangSC-Medium" size:15];
    _nameLabel.font = [UIFont systemFontOfSize:16];
    _nameLabel.textAlignment=NSTextAlignmentCenter;
    _nameLabel.textColor=DGHColorAlpha(255, 255, 255, 1);
    [self addSubview:_nameLabel];
    
    _iconImageView=[[UIImageView alloc]initWithFrame:CGRectMake(CGRectGetMaxX(_nameLabel.frame)+10, 10, 12, 12)];
    //    _arrowImageView.image=[UIImage imageNamed:@"home_common_nav_btn_ddm_n"];
    [self addSubview:_iconImageView];
    
}

@end
